package com.chenlonghai.sbmybatis.service;


import java.util.List;

import com.chenlonghai.sbmybatis.entity.Banner;



public interface BannerService {

	      List<Banner>queryBanner();
	      List<Banner>queryBannerByType(String type);
	      Banner queryBannerById(int id);
		 boolean addBannner(Banner banner);
		 boolean deleteBannerById(int id);
		 boolean updateBanner(Banner banner);
}
